class MyClass {
   function foo(w:int,x:int = 100) : int {
        return x*x;
   }
}

var a = new MyClass();
print( a.foo(4) );
print( a.foo(64,3) );
